﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AAA.MQ
{
    [Serializable]
    public class DefaultMessage : IMessage
    {
        private long _lId;
        private string _strIdFieldName;
        private object _oMessage;

        #region IMessage Members

        public long Id
        {
            get
            {
                return _lId;
            }
            set
            {
                _lId = value;
            }
        }

        public string IdFieldName
        {
            get
            {
                return _strIdFieldName;
            }
            set
            {
                _strIdFieldName = value;
            }
        }

        public object Message
        {
            get
            {
                return _oMessage;
            }
            set
            {
                _oMessage = value;
            }
        }

        #endregion
    }
}
